package com.ruoyi.web.shopping.service;

import com.ruoyi.web.shopping.entity.Discounts;
import com.ruoyi.web.shopping.entity.Prices;

public interface DiscountsService {
    /**
     * 查询折扣
     *
     * @param id
     * @return
     */
    Discounts selectById(String id);

    /**
     * 修改折扣
     *
     * @param discounts
     */
    void update(Discounts discounts);

    /**
     * 删除折扣
     *
     * @param id
     */
    void deleteById(String id);

    /**
     * 新增折扣
     *
     * @param discounts
     */
    void save(Discounts discounts);
}
